package com.cloud.mapper;

import com.cloud.pojo.EventWarn;
import com.cloud.pojo.EventWarnExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface EventWarnMapper {
    int countByExample(EventWarnExample example);

    int deleteByExample(EventWarnExample example);

    int deleteByPrimaryKey(Integer eventId);

    int insert(EventWarn record);

    int insertSelective(EventWarn record);

    List<EventWarn> selectByExample(EventWarnExample example);

    EventWarn selectByPrimaryKey(Integer eventId);

    int updateByExampleSelective(@Param("record") EventWarn record, @Param("example") EventWarnExample example);

    int updateByExample(@Param("record") EventWarn record, @Param("example") EventWarnExample example);

    int updateByPrimaryKeySelective(EventWarn record);

    int updateByPrimaryKey(EventWarn record);
}